@font-face {
  font-family: 'Raleway';
  src: url('../font/Raleway/Raleway-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway-Bold';
  src: url('../font/Raleway/Raleway-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Open-Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(../font/Open_Sans/opensans-regular-webfont.woff2) format('woff2'), url(../font/Open_Sans/opensans-regular-webfont.woff) format('woff');
}
@font-face {
  font-family: 'Open-Sans-Bold';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../font/Open_Sans/opensans-bold-webfont.woff2) format('woff2'), url(../font/Open_Sans/opensans-bold-webfont.woff) format('woff');
}


html, body, ul, ol, li, p { margin: 0; padding: 0; }
*:focus{ outline: none; }
img { -webkit-user-drag: none; user-drag: none; }
li { list-style: none; }

html { user-select: none; }
body { 
  width: 100vw; 
  height: 100vh; 
  overflow: hidden; 
  border: 1px solid #50525b; 
  box-sizing: border-box; 
  background: #1b2838; 
  background-size: cover !important; 
  background-repeat: no-repeat !important;
  background-position: center !important;
}

title-bar { background: #10182194; }

main {
  color: #d9dfe4; 
  font-family: 'Raleway';
  width: 100%;
  height: calc( 100% - 30px);
}

#home {
  height: 100%;
  position: relative;
}

#user-info {
  display: flex;
  width: 800px;
  margin: 0 auto;
  padding: 10px 0;
  position: relative;
  opacity: 0;
  justify-content: center;
  pointer-events:none;
}

#user-info .avatar {
  background: url(../img/avatar.png);
  background-color: #27374a;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  width: 96px;
  height: 96px; 
  border-radius: 50%;
  border: solid white 2px;
  margin: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#user-info .avatar:hover {
  cursor: pointer;
	box-shadow: rgba(198, 212, 223, 0.5) 0px 0px 8px 2px;
	color: #d9dfe4;

}

#user-info .info {
  margin: auto 0;
}

#user-info .info .name {
  font-family: 'Raleway-Bold';
  font-size: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 600px;
}

#user-info .info .stats {
  padding-top: 6px;
}

#user-info .info .stats li {
  display: inline-block;
  margin: 0 5px;
}

#user-info .info .stats li:first-child {
  margin-left: 0;
}

#sort-box {
    box-sizing: border-box;
    position: absolute;
    right: calc( ( 100% - 91.85% ) / 2 );
    top: 110px;
    opacity: 0;
    pointer-events:none;
}
#sort-box .sort{
  display: inline-block;
  margin: 0 5px;
  padding: 5px;
  font-size: 18px;
  cursor: pointer;
}
#sort-box .sort.active {
  text-shadow: 0px 0px 20px white;
}
#sort-box .percentage > i.fa-percent{
    font-size: 12px;
    line-height: 18px;
    vertical-align: top;
    padding-left: 3px;
}
#sort-box .time > i.fa-clock{
    font-size: 14px;
    line-height: 18px;
    vertical-align: top;
    padding-left: 3px;
}

#game-list {
    padding: 20px;
    background: #15202d;
    margin: 0 auto;
    width: 91.85%;
    height: 78.3%;
    border: solid #24374c 1px;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
}

#game-list::-webkit-scrollbar {
  width: 10px;
}
#game-list::-webkit-scrollbar-track {
  background: #27374a;
}
#game-list::-webkit-scrollbar-thumb {
  background: #354b65;
}
#game-list::-webkit-scrollbar-thumb:hover {
  background: #415b79;
}

#game-list .isEmpty { display: none; }

#game-list .isEmpty,
#game-list .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px 20px;
    border-radius: 3px;
    background: #1c2b3c;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#game-list .loading .title {
  font-family: "Raleway-bold";
  margin-bottom: 6px;
  text-align: center;
  height: 18px;
}

#game-list .loading .progressBar {
    height: 8px;
    position: relative;
    background: #15202d;
    padding: 5px 10px;
    width: 100px;
}

#game-list .loading .progressBar > .meter {
    width: 0%;
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s all linear;
    background-image: linear-gradient(to bottom, #4969af, #375db3);
}

#game-list .loading .progressBar:before {
    content: attr(data-percent) "%";
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    display: table;
    color: #dedede;
    z-index: 1;
    text-shadow: rgba(0, 0, 0, .5) 3px 3px 3px;
    font-family: "Open-sans";
}

#game-list > ul {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
  justify-items: center;
}

#game-list ul > li {
  padding: 15px 10px;
  display: block;
}

#game-list .game-box {
  font-family: 'Open-Sans';
  background: #1c2b3c;
  width: 230px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
  transition: 0.3s all ease-in;
  position: relative;
}

#game-list .game-box .header {
  background-color: #27374a;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 100%;
  height: 107.5px;
  transition: opacity .5s ease;
}

#game-list .game-box[data-system="playstation"] .header {
  background-size: cover !important;
  background-position: center !important;
}

#game-list .game-box[data-system="uplay"] .header {
  background-size: contain !important;
  background-position: center !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  background-origin: content-box !important;
  background-color: #121519 !important;
}

#game-list ul > li .game-box:hover .header {
  opacity: 0.5;
}

#game-list .game-box .info {
  padding: 5px 10px;
  max-width: 230px;
  box-sizing: border-box;
}

#game-list .game-box .info .title {
  font-size: 12px;
  padding: 2px 0 5px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#game-list .game-box .info .progressBar {
    height: 8px;
    position: relative;
    background: #15202d;
    padding: 5px 10px;
}

#game-list .game-box .info .progressBar > .meter {
    width: 0%;
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s all linear;
    background-image: linear-gradient(to bottom, #4969af, #375db3);
}

#game-list .game-box .info .progressBar:before {
    content: attr(data-percent) "%";
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    display: table;
    color: #dedede;
    z-index: 1;
    text-shadow: rgba(0, 0, 0, .5) 3px 3px 3px;
}

#game-list .game-box .info .source {
  font-size: 12px;
  padding: 6px 0 1px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

#achievement {
  display: none;
  overflow-y : scroll;
  overflow-x : hidden;
  height: 100%;
}

#achievement::-webkit-scrollbar {
  width: 10px;
}
#achievement::-webkit-scrollbar-track {
  background: #27374a;
}
#achievement::-webkit-scrollbar-thumb {
  background: #354b65;
}
#achievement::-webkit-scrollbar-thumb:hover{
  background: #415b79;
}

#achievement .wrapper {
  width: 1000px;
  margin: 0 auto;
}

#achievement .wrapper > .header {
  position: relative;
}

#achievement .wrapper > .header[data-system="playstation"] .title .icon {
  background: url(../img/playstation.png) no-repeat, #27374a !important;
  background-size: contain !important;
}

#achievement .wrapper > .header .trophy {
  background: #15202db5;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  height: 19px;
  vertical-align: top;
  margin-left: 10px;
  display: none;
}

#achievement .wrapper > .header .playtime,
#achievement .wrapper > .header .lastplayed {
  background: #15202db5;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  height: 19px;
  vertical-align: top;
  margin-left: 10px;
  display: none;
}

#achievement .wrapper > .header .playtime span,
#achievement .wrapper > .header .lastplayed span{
    display: inline-block;
}
#achievement .wrapper > .header .playtime span::first-letter {
    text-transform: uppercase;
}

#achievement .wrapper > .header[data-system="playstation"] .trophy {
  display: inline-block;
}

.trophy li {
  display: inline-block;
  margin: 0 5px;
}
.trophy li i {
  text-shadow: rgba(0, 0, 0, .5) 4px 4px 3px;
}
.trophy li.platinum i,
.achievement .title i.fa-trophy[data-type="P"]{
  color: #aebad0;
}
.trophy li.gold i,
.achievement .title i.fa-trophy[data-type="G"]{
  color: #ffd700;
}
.trophy li.silver i,
.achievement .title i.fa-trophy[data-type="S"]{
  color: #acacac;
}
.trophy li.bronze i,
.achievement .title i.fa-trophy[data-type="B"]{
  color: #b8592b;
}
.achievement .title i.fa-trophy{
  font-size: 12px;
  vertical-align: middle;
}

#user-info .info .trophy {
  padding-top: 4px;
  display: none;
}

#user-info .info .trophy li i {
  text-shadow: none;
}

#user-info .info .trophy li:first-child {
  margin-left: 0;
}

#achievement .wrapper > .header .title {
    padding: 12px 0 20px 0;
    display: flex;
}

#achievement .wrapper > .header .title .icon {
  background: #27374a;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 32px;
  height: 32px;
  margin: auto 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#achievement .wrapper > .header .title span {
    margin-left: 10px;
    font-family: Open-sans-bold;
    font-size: 36px;
    text-shadow: rgba(0, 0, 0, .5) 4px 4px 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 800px;
    padding: 8px 0;
}

#achievement .wrapper > .header .stats {
    background: #15202db5;
    padding: 10px 20px;
    border-radius: 3px;
    display: inline-block;
    height: 19px;
    vertical-align: top;
}

#achievement .wrapper > .header .stats .counter:after {
  content: attr(data-count) " / " attr(data-max) " ("attr(data-percent) "%) ";
  font-family: "Open-sans";
  padding-left: 10px;
}

#achievement .wrapper > .header .backButton {
  border-radius: 2px;
  border: none;
  display: inline-block;
  cursor: pointer;
  color: #67c1f5;
  background: rgba( 103, 193, 245, 0.2 );
  padding: 1px 16px;
  font-size: 15px;
  line-height: 30px;
  position: absolute;
  top: 25px;
  right: 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#achievement .wrapper > .header .backButton:hover {
  color: #fff;
  background: linear-gradient( -60deg, #417a9b 5%,#67c1f5 95%);
}

#achievement .achievements {
  margin: 20px 0;
}

#achievement .achievements ul > li {
  margin: 10px 0;
}


#achievement .achievements .achievement-list{
  margin: 20px 0;
}

#achievement .achievements .achievement-list > .header {
  font-family: "Open-sans-bold";
  font-size: 20px;
  border-bottom: solid #d9dfe4 2px;
  padding-bottom: 8px;
  display: block;
  position: relative;
}

#achievement .achievements .achievement-list > .header .toggle {
    display: block;
    position: absolute;
    right: 0;
    top: -7px;
    width: 30px;
    height: 30px;
    padding: 2px;
    text-align: center;
    vertical-align: top;
    line-height: 30px;
    cursor: pointer;
    transition: 0.3s all ease;
    border-radius: 50%;
}

#achievement .achievements .achievement-list.active > .header .toggle {
  transform: rotate(90deg);
}

#achievement .achievements .achievement-list > .header .toggle:hover {
  background-color: rgba(255,255,255,0.20);
}

#lock > .header .title > i {
  color: #da281b;
}

#unlock > .header .title > i {
  color: #4fb553;
}

#unlock > .header .title:after,
#lock > .header .title:after {
  content: "(" attr(data-count) ")";
  display: inline-block;
  padding-left: 10px;
  font-family: "Open-sans";
}

#achievement .achievement-list ul > li {
  width: 100%;
  background: #15202db5;
  padding: 10px 20px;
  box-sizing: border-box;
}

#achievement .achievement-list ul > li.highlight {
  box-shadow: rgb(198, 212, 223) 0px 0px 8px 2px;
}

.achievement-list > .header .sort-ach {
  display: block;
  position: absolute;
  right: 34px;
  top: -3px;
  margin-right: 5px;
}

.achievement-list > .header .sort-ach .sort {
    display: none;
    margin: 0 5px;
    padding: 5px;
    font-size: 18px;
    cursor: pointer;
}

.achievement-list > .header .sort-ach .sort.show {
    display: inline-block;
}

.achievement-list > .header .sort-ach .sort > i {
    line-height: 18px;
    vertical-align: top;
    padding-left: 3px;
}

.achievement-list > .header .sort-ach .sort.percentage > i.fa-percent {
    font-size: 12px;
}

.achievement-list > .header .sort-ach .sort.time > i.fa-clock
{
    font-size: 14px;
}

.achievement-list > .header .sort-ach .sort.active {
    text-shadow: 0px 0px 20px white;
}

.achievement {
  display: flex;
}

.achievement .box {
  width: 66px;
  height: 66px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: auto 0;
  position: relative;
  transition: transform .21s ease-in-out;
}

.achievement.rare .box {
  box-shadow: 0px 0px 2px 1px rgba(255, 184, 78, 0.6), 0px 0px 16px 1px rgba(255, 184, 78, 0.4)
}

.achievement.rare .box .glow {
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
}

.achievement.rare .box .mask {
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: 100%;
}

.achievement.rare .box .mask.contain {
    -webkit-mask-image: url();
}

.achievement.rare .box .mask.ray {
    animation-name: rotate;
    animation-duration: 18s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: reverse;
    -webkit-mask-image: url();
}

.achievement.rare .box .fx {
    animation-name: rotate;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    mix-blend-mode: overlay;
    background: repeating-conic-gradient(rgba(255, 217, 0, 0.178) 0%, rgba(255, 184, 78, 0) 6%, rgba(255, 217, 0, 0.178) 10%, #ffb84e 26%, rgba(255, 217, 0, 0.178) 35%, #ffb84e 40%, rgba(255, 217, 0, 0.178) 60%, #ffb84e 82%, rgba(255, 217, 0, 0.178) 100%);
}

@keyframes rotate {
  to {
    transform: rotate(1turn); 
  } 
}

.achievement .box .icon {
  background-color: #253446;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 64px;
  height: 64px;
  border: solid #2d455f 1px;
  position: relative;
}

#achievement .wrapper > .header[data-system="playstation"] ~ .achievements #lock .achievement .icon, 
#achievement .wrapper > .header[data-system="uplay"] ~ .achievements #lock .achievement .icon
{
  filter: grayscale(100);
} 

.achievement .content {
  margin: 0 auto 0 20px;
  max-width: 600px;
}

.achievement .content .title {
  font-family: "Raleway-bold";
  font-size: 18px;
  padding: 2px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.achievement .content .description {
  font-family: "Raleway";
  font-size: 16px;
  padding: 2px 0;
}

.achievement .progressBar {
    height: 6px;
    position: relative;
    background: rgb(35, 53, 74);
    padding: 4px 10px;
    margin-top: 4px;
    font-family: "Open-sans";
    width: 150px;
    display: none;
}

.achievement .progressBar > .meter {
    width: 0%;
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s all linear;
    background-image: linear-gradient(to bottom, #4969af, #375db3);
}

.achievement .progressBar:before {
    content: attr(data-current) " / " attr(data-max);
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    display: table;
    color: #dedede;
    z-index: 1;
    text-shadow: rgba(0, 0, 0, .5) 3px 3px 3px;
}

.achievement .progressBar:after {
    content: attr(data-percent) "%";
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 5px;
    display: table;
    color: #dedede;
    z-index: 1;
}

.achievement .progressBar:not([data-max="0"]) {
  display: block;
} 

#unlock .achievement .progressBar {
    display: none !important;
}

.achievement .stats {
  margin: auto 10px auto auto;
  max-width: 250px;
}

.achievement .stats .time, 
.achievement .stats .community {
  padding: 5px 0;
  margin: 2px 0;
  width: 210px;
}

.achievement.rare .stats .community {
  color: #ffc04ec7;
}

.achievement .stats .time span { display: inline-block; }
.achievement .stats .time span:nth-child(3)::first-letter { text-transform: uppercase; }

.achievement .stats .time span:nth-child(2),
.achievement .stats .time:hover span:nth-child(3) { display: none; }
.achievement .stats .time:hover span:nth-child(2) { display: inline-block; }


#hidden-disclaimer .achievement .icon {
  display: flex;
  background: #253446;
  padding: 0 10px;
  min-width: 45px;
}

#hidden-disclaimer .achievement .icon > i {
  font-size: 20px;
  margin: auto; 
}

#hidden-disclaimer .achievement .icon > i:after {
  content: attr(data-remaining);
  display: inline-block;
  padding-left: 5px;
  font-family: Open-sans;
}

#hidden-disclaimer .achievement .content {
 margin: auto auto auto 20px;
}

#hidden-disclaimer .achievement .content .title {
  font-family: "Raleway";
  font-size: 16px;
}

#lock ul > li.hidden {
  display: none;
}

#hidden-disclaimer .show-hidden {
  width: 250px;
  margin: auto 10px auto auto;
  display: inline-flex;
}

#hidden-disclaimer .show-hidden div#btn-show-hidden {
    border-radius: 2px;
    border: none;
    display: inline-block;
    cursor: pointer;
    color: #67c1f5;
    background: rgba( 103, 193, 245, 0.2 );
    padding: 8px 16px;
    font-size: 15px;
    margin: 0 auto;
    height: 32px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#hidden-disclaimer .show-hidden div#btn-show-hidden:hover {
    color: #fff;
    background: linear-gradient( -60deg, #417a9b 5%,#67c1f5 95%);
}

#lock .achievement .progressBar:not([data-max='0']) { display: block; }
#unlock .achievement .progressBar { display: none; }

#unlock .achievement .stats .time[data-time="0"] { display: none; }
#lock .achievement .stats .time { display: none; }

#unlock ul li > .notice { 
    text-align: center;
    padding: 10px;
    font-size: 20px;
}

#unlock ul li > .notice p {
  padding: 5px 0;
}

#unlock ul li > .notice p a{
  color: inherit;
}

#btn-scrollup {
    text-align: center;
    display: table;
    margin: 5px auto 0 auto;
    padding: 5px;
    cursor: pointer;
}

#btn-scrollup > div{
  background: url(../img/mouse_scroll.png) no-repeat;
  width: 23px;
  height: 37px;
  margin: 0 auto;
}

#btn-scrollup > span{
    margin-top: 6px;
    display: block;
    text-transform: uppercase;
    font-size: 14px;
}

#settings { display: none; }

#settings .overlay {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    background-image: url('');
}

#settings .box {
    width: 750px;
    background: #1b2838;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: none;
}

#settings .box .header {
    background: #15202d;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: Raleway-bold;
    font-size: 18px;
    text-shadow: rgba(0, 0, 0, .5) 3px 3px 3px;
    margin: 0 auto auto auto;
}

#settings .box .container {
    display: flex;
    flex-direction: row;
    padding: 15px 20px;
    background: #1f3042;
}

#settingNav {
  margin: 0 0 auto auto;
  min-width: 160px;
}

#settingNav li {
  padding: 10px 20px;
  cursor: pointer;
  width: 125px;
}

#settingNav li.active {
    background: #1b2838;
    font-family: "Raleway-bold";
    border-radius: 3px 0 0 3px;
    pointer-events: none !important;
}

#settingNav li[data-view="source"] i {
    margin-left: -2px;
    margin-right: 1px;
}

#settings .box .content {
  width: 500px;
  height: 465px;
  margin: 0 auto auto 0;
  background: #1b2838;
  padding: 10px 20px;
  border-radius: 0 3px 3px 0;
  display: none;
  overflow-y: scroll;
}

#settings .box .content::-webkit-scrollbar {
  width: 10px;
}
#settings .box .content::-webkit-scrollbar-track {
  background: #1f3042;
}
#settings .box .content::-webkit-scrollbar-thumb {
  background: #354b65;
}
#settings .box .content::-webkit-scrollbar-thumb:hover{
  background: #415b79;
}

#settings .box .content.active {
  display: block;
}

#settings .box .footer {
    margin: auto 0 0 0;
    padding: 15px 10px 10px 10px;
    display: flex;
}

#settings .box .notice {
  font-size: 14px;
}

#settings .box p {
  padding: 3px 2px;
}

#settings .box a {
  color: inherit;
}

#settings .box a:hover {
  color: inherit;
  text-decoration: none;
}

#settings .box .footer .buttons {
    margin: auto 0 auto auto;
}

#settings .box .footer .buttons div {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 3px;
  background: #27374a;
  margin: 0 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#settings .box .footer .buttons div:hover {
  background: #384a63;
}
#settings .box .footer .buttons div#btn-settings-cancel {
  background: #bd2318;
}
#settings .box .footer .buttons div#btn-settings-cancel:hover {
  background: #da281b;
}

.arrow-list {
  font-family: Open-sans;
}

.arrow-list li {
  font-size: 16px;
  padding: 5px 12px;
  position: relative;
  display: flex;
  height: 24px;
}

.arrow-list li .left{
  margin: auto auto auto 0;
}

.arrow-list li .left > i {
  min-width: 20px;
}

.arrow-list li .right{
  margin: auto 20px auto auto;
  width: 150px;
  text-align: center;
  position: relative;
}

.arrow-list li .right .previous,
.arrow-list li .right .next {
  display: inline-block;
  position: absolute;
  z-index: 1;
  background-color: transparent;
  transition: all .2s ease-in;
}
.arrow-list li .right .previous:hover,
.arrow-list li .right .next:hover { 
  background-color: rgba(255,255,255,0.20); 
}
.arrow-list li .right .previous {
  left: 10px;
  top: 50%;
  transform: translate(-100%,-50%);
  padding: 5px;
}
.arrow-list li .right .previous .arrow,
.arrow-list li .right .next .arrow {
    display: flex;
    width: 18px;
    height: 18px;
}
.arrow-list li .right .previous .arrow > i,
.arrow-list li .right .next .arrow > i {
    margin: auto;
}

.arrow-list li .right .next{
    right: 10px;
    top: 50%;
    transform: translate(100%,-50%);
    padding: 5px 3px 5px 7px;
}

.arrow-list li .right select {
    display: inline-block;
    background: transparent;
    color: #d9dfe4;
    border: 0;
    width: 110px;
    text-align-last: center;
    line-height: 24px;
}

.arrow-list li .right select option {
    background: #1b2838;
}

.arrow-list li .right select {
    -webkit-appearance: none;
    pointer-events: none;
}

.arrow-list li .right select.dropdown {
    -webkit-appearance: menulist;
    pointer-events: initial;
}

.arrow-list li .right .previous,
.arrow-list li .right .next,
.arrow-list li .right select {
  cursor: pointer;
}

.arrow-list li.hasHelper {
  margin-bottom: 16px;
}
.arrow-list li.hasHelper.expand {
  margin-bottom: 32px;
}
.arrow-list li .help {
    position: absolute;
    bottom: 0;
    left: 36px;
    transform: translateY(100%);
    font-size: 14px;
    color: #9ba0a5;
}

#options-steam-api {
  margin-top: 18px;
}

#options-steam-api .title {
    font-family: Open-sans-bold;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

#options-steam-api .disclaimer {
  margin: 10px 0;
  font-size: 14px;
}

#options-steam-api label[for="steamwebapikey"] {
  font-family: Open-sans;
}

#steamwebapikey {
    background: #d9dfe4;
    font-family: "Open-sans";
    width: 192px;
    margin-left: 5px;
}

#steamwebapikey ~ span {
    font-size: 14px;
    padding: 5px 0;
    display: block;
    font-style: italic;
}

#settings .content li .left {
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 275px;
    height: 22px;
}

#settings .content .title{
    font-family: "Raleway-bold";
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    margin: 10px 0;
}

#settings .content[data-view="folder"] .disclaimer {
  text-align: center;
  font-family: "Open-sans";
}

#dirlist {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 210px;
  max-height: 210px;
  font-size: 14px;
}

#defaultdir::-webkit-scrollbar,
#dirlist::-webkit-scrollbar {
  width: 10px;
}
#defaultdir::-webkit-scrollbar-track,
#dirlist::-webkit-scrollbar-track {
  background: #27374a;
}
#defaultdir::-webkit-scrollbar-thumb,
#dirlist::-webkit-scrollbar-thumb {
  background: #354b65;
}
#defaultdir::-webkit-scrollbar-thumb:hover,
#dirlist::-webkit-scrollbar-thumb:hover{
  background: #415b79;
}

#defaultdir {
  font-size: 12px;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 60px;
  max-height: 60px;
}

#dirlist > li,
#defaultdir > li {
    display: flex;
    margin: 2px 0;
}

#dirlist > li .path {
    display: inline-block;
    width: 350px;
    height: 16px;
    max-width: 350px;
    margin: auto auto auto 0;
    overflow: hidden;
    position: relative;
    padding: 5px 0;
}

#defaultdir > li .path {
    display: inline-block;
    width: 350px;
    max-width: 350px;
    margin: auto auto auto 0;
}

#dirlist > li .path  span {
    position: absolute;
    white-space: nowrap;
    transform: translateX(0);
    transition: 1s ease-out;
    max-width: 350px;
    text-overflow: ellipsis; 
    overflow: hidden;
}
#dirlist > li .path.overflow:hover span {
  max-width: initial;
  text-overflow: initial; 
  overflow: initial;
  transform: translateX(calc(350px - 100%));
}


#dirlist > li .controls,
#defaultdir > li .controls {
    display: inline-block;
    margin: 0 10px 0 auto;
}

#dirlist > li .controls ul > li {
    display: inline-block;
    padding: 5px 10px;
    margin: auto 0;
    background-color: transparent;
    cursor: pointer;
    transition: all .2s ease-in;
    width: 34px;
    box-sizing: border-box;
    text-align: center;
}

#defaultdir > li .controls ul > li {
    display: inline-block;
    width: 34px;
    box-sizing: border-box;
    text-align: center;
    margin: auto 0;
}

#dirlist > li .controls ul > li:hover {
    background-color: rgba(255,255,255,0.20);
    color: #ffffff;
}

#defaultdir li span.constant {
    color: #9ba0a5;
}

#settings .content[data-view="folder"] > .controls {
    display: flex;
    margin-bottom: 5px;
    flex-direction: column;
}

#settings .content[data-view="folder"] > .controls .info,
#options-notify .info {
    font-family: Open-sans;
    font-size: 13px;
    text-align: center;
    color: #9ba0a5;
    width: 90%;
    margin: 0 auto 6px auto;
}
#options-notify .info { font-size: 14px; }

#settings .content[data-view="folder"] > .controls .info p{
    padding: 0;
}

#settings .content[data-view="folder"] > .controls ul {
    margin: 0 auto;
}

#settings .content[data-view="folder"] > .controls li {
    margin: 2px 5px;
    display: inline-block;
}

#settings .content[data-view="folder"] > .controls .btn,
#settings .content[data-view="advanced"] .btn,
#settings .content[data-view="debug"] .btn{
    padding: 5px 10px;
    border: 1px solid white;
    background: #27374a;
    border: solid #3e5065 1px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#settings .content[data-view="advanced"] .btn,
#settings .content[data-view="debug"] .btn  {
  margin: 4px 2px;
}

#settings .content[data-view="advanced"] a.btn,
#settings .content[data-view="debug"] a.btn {
  text-decoration: none;
}

#settings .content[data-view="folder"] > .controls .btn:hover,
#settings .content[data-view="advanced"] .btn:hover,
#settings .content[data-view="debug"] .btn:hover{
    background: #1b2838;
}

#settings .content[data-view="folder"] > .controls .btn:active,
#settings .content[data-view="advanced"] .btn:active,
#settings .content[data-view="debug"] .btn:active {
    transform: scale(0.9);
}

#settings .content[data-view="souvenir"] .btn {
  padding: 3px 10px;
  background: #27374a;
  border: solid #3e5065 1px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  display: inline-block;
  width: 88px;
  margin-left: 1px;
}

#notify_test ~ select {
  background: #d9dfe4;
  font-family: "Open-sans";
  border-top: 2px solid #9a9a9a;
  border-left: 2px solid #9a9a9a;
  border-right: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
  font-size: 14px;
  margin: 0 5px;
}

#settings .content[data-view="debug"] ul li p {
  font-size: 14px;
}

#blacklist_reset ~ div {
  font-size: 14px;
  margin: 4px 0 4px 2px;
}

#focus-assist-state{
  font-size: 14px;
  margin: 4px 0 6px 2px;
}

#focus-assist-state span[data-state="-2"],
#focus-assist-state span[data-state="-1"] {
  color: #ff3838;
}

#focus-assist-state span[data-state="0"] {
  color: #25c725;
}

#focus-assist-state span[data-state="1"],
#focus-assist-state span[data-state="1"] {
  color: #f3a20d;
}

#search-bar {
  position: absolute;
  top: 105px;
  left: calc( ( 100% - 91.85% ) / 2 );
  z-index: 1;
  opacity: 0;
}

#search-bar-float {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 1;
}

#search-bar .wrapper, 
#search-bar-float .wrapper {
  position: relative;
}

#search-bar .wrapper > i, 
#search-bar-float .wrapper > i {
  position: absolute;
  top: 7px;
  left: 11px;
  pointer-events: none;
}

#search-bar input[type=search] {
    outline: none;
    box-sizing: content-box;
    background: #15202d;
    border: solid #24374c 1px;
    padding: 6px 10px;
    transition: all .5s;
    width: 15px;
    height: 16px;
    color: transparent;
    cursor: pointer;
    font-size: 12px;
    font-family: "Open-Sans";
    text-transform: capitalize;
}

#search-bar-float input[type=search] {
    outline: none;
    box-sizing: content-box;
    background: #15202d;
    border: solid #6f7f90 1px;
    padding: 6px 10px;
    transition: all .5s;
    width: 15px;
    height: 16px;
    color: transparent;
    cursor: pointer;
    font-size: 12px;
    font-family: "Open-Sans";
    text-transform: capitalize;
}

#search-bar input[type=search]:focus, 
#search-bar input[type=search].has {
	width: 105px;
	box-shadow: rgba(198, 212, 223, 0.5) 0px 0px 8px 2px;
	padding-left: 32px;
	color: #d9dfe4;
	cursor: auto;
}

#search-bar-float input[type=search]:focus, 
#search-bar-float input[type=search].has {
	width: 160px;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
	padding-left: 32px;
	color: #d9dfe4;
	cursor: auto;
}

#search-bar input::-webkit-search-decoration,
#search-bar input::-webkit-search-cancel-button,
#search-bar-float input::-webkit-search-decoration,
#search-bar-float input::-webkit-search-cancel-button {
	display: none; 
}

#search-bar input::-webkit-input-placeholder,
#search-bar-float input::-webkit-input-placeholder {
	color: transparent;
}

#game-list.view-portrait ul { grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) ); }
#game-list.view-portrait ul > li { padding: 15px 15px; }
#game-list.view-portrait ul > li .game-box { width: 150px; transition: 0.25s all ease-in; }
#game-list.view-portrait ul > li .game-box:hover { transform: scale(1.1); }
#game-list.view-portrait ul > li .game-box .header {
  height: 225px;
  background-size: contain !important;
  position: relative;
}
#game-list.view-portrait ul > li .game-box .header.glow:after {
    content: '';
    opacity: 0.15;
    cursor: pointer;
    width: 220%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(235, 245, 255, 0) 0%, rgba(235, 245, 255, 0.85) 12px, rgba(235, 245, 255, 0.75) 20%, rgba(210, 210, 210, 0) 60%, rgba(10, 10, 10, 0) 85%, rgba(10, 10, 10, 0.8) 100%);
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
    transform: rotateZ(212deg) translateX(12%) translateY(59%);
    z-index: 10;
    transition-property: transform, opacity;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
}
#game-list.view-portrait ul > li .game-box:hover .header { opacity: 1; }
#game-list.view-portrait ul > li .game-box:hover .header.glow:after { transform: rotateZ(200deg) translateX(20%) translateY(50%); }
#game-list.view-portrait ul > li .game-box .info { max-width: 150px; }
#game-list.view-portrait ul > li .game-box .info .title { display: none; }
#game-list.view-portrait ul > li .game-box .info .progressBar { height: 4px; margin-top: 4px; }
#game-list.view-portrait ul > li .game-box .info .progressBar:before { font-size: 12px; }

#game-list .game-box .loading-overlay {
  position: absolute;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: none;
}
#game-list .game-box.wait{
  filter: grayscale(1);
  transition: none !important;
}
#game-list .game-box.wait .loading-overlay {
 display: flex;
}
#game-list .game-box .loading-overlay .content
{
  margin: auto;
  font-size: 36px;
}

#wrap-dirlist {
  position: relative;
}
#wrap-dirlist .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 40, 56, 0.8);
    display: none;
}
#wrap-dirlist .loading-overlay .wrap
{
    text-align: center;
    margin-top: 25px;
    font-size: 32px;
}